﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>MyCombo</title>
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
    <style>
        a {
            text-decoration: none;
        }

        ul li a {
            text-decoration: none;
            color: #051e37;
        }

            ul li a:hover {
                text-decoration: none;
                line-height: 50px;
                display: block;
                background-color: #423d3d;
                text-align: center;
                color: #ffffff;
                cursor: pointer;
            }

        tr td {
            cursor: pointer;
        }

        p {
            cursor: pointer;
        }

        img {
            cursor: pointer;
        }

        ul li {
            line-height: 50px;
            text-align: center;
            font-size: 18px;
            float: left;
            list-style: none;
            width: 226px;
            height: 50px;
            background-color: #ffffff;
        }
    </style>
</head>
<body>
    <div>
        <div style="width:720px; height:690px;margin-left:340px; position:absolute;">
            <div style="width:720px;height:60px; background-color:#bddc71; position:fixed; width:720px; height:60px; left:348px; top:0%;">
                <label style="font-size:40px; margin-left:15px;" onclick="back()"><</label><label style=" margin-left:260px; font-size:20px; color:#ffffff;">订单类表</label>
            </div>
            <div style="width:720px;height:60px; margin-top:52px; margin-left:-20px;">
                <ul>
                    <li><a onclick="Ches()">待支付</a></li>
                    <li><a onclick="Chess()">待体检</a></li>
                    <li><a  onclick="Chesss()">体检完成</a></li>
                </ul>
            </div>
            <div>
                <table style=" width:680px;margin-left:20px; text-align:center;" class="table-bordered">
                    @foreach (var item in ViewBag.lists)
                    {
                        <tr style="color:#0026ff">
                            <td>订单号</td>
                            <td>订单用户</td>
                            <td>下单时间</td>
                            <td>体检人</td>
                            <td>联系电话</td>
                            <td>体检日期</td>
                            <td>价格</td>
                        </tr>
                        <tr>
                            <td>@item.T_OrderForm_ID</td>
                            <td>@item.T_OrderForm_UserName</td>
                            <td>@item.T_OrderForm_Time</td>
                            <td>@item.T_OrderForm_Name</td>
                            <td>@item.T_OrderForm_Phone</td>
                            <td>@item.T_OrderForm_DateTime</td>
                            <td>@item.T_OrderForm_DoctorPrice</td>
                        </tr>
                    }
                    
                </table>
            </div>
        </div>
    </div>
    <script>
        function Ches()
        {
            location.href = "/HosClient/MyCombo?ids="+1;
        }
        function Chess() {
            location.href = "/HosClient/MyCombo?ids=" + 2;
        }
        function Chesss() {
            location.href = "/HosClient/MyCombo?ids=" + 3;
        }
        function back()
        {
            location.href = "/HosClient/MyInfos";
        }
    </script>
</body>
</html>
